<?php

/*
+---------------------------------------------------------------------------+
| Revive Adserver                                                           |
| http://www.revive-adserver.com                                            |
|                                                                           |
| Copyright: See the COPYRIGHT.txt file.                                    |
| License: GPLv2 or later, see the LICENSE.txt file.                        |
+---------------------------------------------------------------------------+
*/

$context    = array();
$source     = '';
$richMedia  = true;

// 3 arrays
// xAds - override ads
// cAds - companion ads
// ads  - ads

// Test 1
$aLinked_xAds = array (
  'zone_id' => '61',
  'publisher_id' => '22',
  'name' => 'Banner (Mixed)',
  'type' => '0',
  'description' => '',
  'width' => '468',
  'height' => '60',
  'chain' => '',
  'prepend' => '',
  'append' => '',
  'appendtype' => '0',
  'forceappend' => 'f',
  'inventory_forecast_type' => '0',
  'default_banner_url' => NULL,
  'default_banner_dest' => NULL,
  'xAds' =>
  array (
    1025 =>
    array (
      'ad_id' => '1025',
      'placement_id' => '88',
      'active' => 't',
      'name' => 'SQL GIF',
      'type' => 'sql',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_blue_3.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1026 =>
    array (
      'ad_id' => '1026',
      'placement_id' => '88',
      'active' => 't',
      'name' => 'Web GIF',
      'type' => 'web',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_green_13.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1027 =>
    array (
      'ad_id' => '1027',
      'placement_id' => '88',
      'active' => 't',
      'name' => 'SQL Flash',
      'type' => 'sql',
      'contenttype' => 'swf',
      'pluginversion' => '6',
      'filename' => 'm3-test-468x60_5.swf',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1028 =>
    array (
      'ad_id' => '1028',
      'placement_id' => '88',
      'active' => 't',
      'name' => 'Web Flash (No backup)',
      'type' => 'web',
      'contenttype' => 'swf',
      'pluginversion' => '6',
      'filename' => 'm3-test-468x60_10.swf',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1029 =>
    array (
      'ad_id' => '1029',
      'placement_id' => '88',
      'active' => 't',
      'name' => 'Web Flash (With backup)',
      'type' => 'web',
      'contenttype' => 'swf',
      'pluginversion' => '6',
      'filename' => 'm3-test-468x60_11.swf',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => 'm3_test_468x60_orange_10.gif',
      'alt_imageurl' => '',
      'alt_contenttype' => 'gif',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1038 =>
    array (
      'ad_id' => '1038',
      'placement_id' => '90',
      'active' => 't',
      'name' => 'HTML - Atlas',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<iframe src="http://view.atdmt.com/ZED/iview/ltkxxlly0010000008zed/direct/01?click=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">
        <script language="JavaScript" type="text/javascript">
        document.write(\'<a href="http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/" target="_blank"><img src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/"/></a>\');
        </script><noscript><a href="http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/" /></a></noscript></iframe>',
      'htmlcache' => '<iframe src="http://view.atdmt.com/ZED/iview/ltkxxlly0010000008zed/direct/01?click={clickurl}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">
        <script language="JavaScript" type="text/javascript">
        document.write(\'<a href="{clickurl}http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/"   target=\'{target}\'><img src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/"/></a>\');
        </script><noscript><a href="{clickurl}http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/"   target=\'{target}\'><img border="0" src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/" /></a></noscript></iframe>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'atlas',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1039 =>
    array (
      'ad_id' => '1039',
      'placement_id' => '90',
      'active' => 't',
      'name' => 'HTML - Bluestreak',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<SCRIPT LANGUAGE="JavaScript" type="text/javascript"
         SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1901891&amp;u=&amp;n=Insert_Time_Stamp_Here&amp;cltk=Insert_Click_Track_URL_Here">
        </script><noscript><a
         href=\'http://s0b.bluestreak.com/ix.e?hr&amp;s=1901891\'
         target=_top><img src=\'http://s0b.bluestreak.com/ix.e?ir&amp;s=1901891\'
         border=0 alt=""></a></noscript>',
      'htmlcache' => '<SCRIPT LANGUAGE="JavaScript" type="text/javascript"
         SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1901891&amp;u=&amp;n={random}&amp;cltk={clickurl}">
        </script>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'bluestreak',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1040 =>
    array (
      'ad_id' => '1040',
      'placement_id' => '90',
      'active' => 't',
      'name' => 'HTML - Bluestreak',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<SCRIPT language=\'JavaScript1.1\' SRC="http://ad.uk.doubleclick.net/adj/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?">
        </SCRIPT>
        <NOSCRIPT>
        <A HREF="http://ad.uk.doubleclick.net/jump/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?">
        <IMG SRC="http://ad.uk.doubleclick.net/ad/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!"></A>
        </NOSCRIPT>',
      'htmlcache' => '<SCRIPT language=\'JavaScript1.1\' SRC="http://ad.uk.doubleclick.net/adj/N2806.TopGear.ilevel/B1987452;click0={clickurl};sz=468x60;ord={random}?">
        </SCRIPT>
        <NOSCRIPT>
        <a href="{clickurl}http://ad.uk.doubleclick.net/jump/N2806.TopGear.ilevel/B1987452;sz=468x60;ord={random}?"  target=\'{target}\'>
        <IMG SRC="http://ad.uk.doubleclick.net/ad/N2806.TopGear.ilevel/B1987452;sz=468x60;ord={random}?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!"></A>
        </NOSCRIPT>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'doubleclick',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1041 =>
    array (
      'ad_id' => '1041',
      'placement_id' => '90',
      'active' => 't',
      'name' => 'HTML - EyeBlaster',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<script>
        var gnEbMinZIndex = 10000;
        var gfEbInIframe = false;
        var gEbBAd = new Object();
        gEbBAd.nFlightID = 147345;
        gEbBAd.nWidth = 468;
        gEbBAd.nHeight = 60;
        var gstrEbRandnum = new String(Math.random());
        gstrEbRandnum = gstrEbRandnum.substring(gstrEbRandnum.indexOf(".")+1 , gstrEbRandnum.length);
        gEbBAd.strNonSupported = "http://bs.serving-sys.com/BurstingPipe/NonSupportedBanner.asp?FlightID=147345&Page=&PluID=0&Width=468&Height=60&Pos=" + gstrEbRandnum;
        </script>
        <script src="http://ds.serving-sys.com/BurstingScript/ebBannerServing_147345.js"></script>
        <noscript>
        <a href=\'http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' target=\'_blank\'><img src=\'http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' border=0 width=468 height=60\'></a>
        </noscript>',
      'htmlcache' => '<script>
        var gnEbMinZIndex = 10000;
        var gfEbInIframe = false;
        var gEbBAd = new Object();
        gEbBAd.nFlightID = 147345;
        //Interactions
        gEbBAd.interactions = new Object();
        gEbBAd.interactions["_eyeblaster"] = "ebN={clickurl}";

        gEbBAd.nWidth = 468;
        gEbBAd.nHeight = 60;
        var gstrEbRandnum = new String(Math.random());
        gstrEbRandnum = gstrEbRandnum.substring(gstrEbRandnum.indexOf(".")+1 , gstrEbRandnum.length);
        gEbBAd.strNonSupported = "http://bs.serving-sys.com/BurstingPipe/NonSupportedBanner.asp?FlightID=147345&Page=&PluID=0&Width=468&Height=60&Pos=" + gstrEbRandnum;
        </script>
        <script src="http://ds.serving-sys.com/BurstingScript/ebBannerServing_147345.js"></script>
        <noscript>
        <a href="{clickurl}http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=147345&Page=&PluID=0&Pos=1926"   target=\'{target}\'><img src=\'http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' border=0 width=468 height=60\'></a>
        </noscript>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'eyeblaster',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1043 =>
    array (
      'ad_id' => '1043',
      'placement_id' => '90',
      'active' => 't',
      'name' => 'HTML - m3',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<iframe id=\'af013aeb\' name=\'af013aeb\' src=\'http://d.m3.net/afr.php?zoneid=962&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_CLICKURL_HERE\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'468\' height=\'60\'><a href=\'http://d.m3.net/ck.php?n=a53f6a14&amp;cb=INSERT_RANDOM_NUMBER_HERE\' target=\'_blank\'><img src=\'http://d.m3.net/avw.php?zoneid=962&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a53f6a14&amp;ct0=INSERT_CLICKURL_HERE\' border=\'0\' alt=\'\' /></a></iframe>',
      'htmlcache' => '<iframe id=\'af013aeb\' name=\'af013aeb\' src=\'http://d.m3.net/afr.php?zoneid=962&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_CLICKURL_HERE\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'468\' height=\'60\'><a href="{clickurl}http://d.m3.net/ck.php?n=a53f6a14&amp;cb=INSERT_RANDOM_NUMBER_HERE"   target=\'{target}\'><img src=\'http://d.m3.net/avw.php?zoneid=962&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a53f6a14&amp;ct0=INSERT_CLICKURL_HERE\' border=\'0\' alt=\'\' /></a></iframe>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'max',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1044 =>
    array (
      'ad_id' => '1044',
      'placement_id' => '90',
      'active' => 't',
      'name' => 'HTML - Mediaplex',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/4304-41054-15950-0?mpt=[CACHEBUSTER]&mpvc=">
        </script>
        <noscript>
        <a href="http://altfarm.mediaplex.com/ad/ck/4304-41054-15950-0?mpt=[CACHEBUSTER]">
        <img src="http://altfarm.mediaplex.com/ad/bn/4304-41054-15950-0?mpt=[CACHEBUSTER]"
        alt="Click Here" border="0">
        </a>
        </noscript>',
      'htmlcache' => '<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/4304-41054-15950-0?mpt={random}&mpvc={clickurl}">
        </script>
        ',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'mediaplex',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1045 =>
    array (
      'ad_id' => '1045',
      'placement_id' => '90',
      'active' => 't',
      'name' => 'HTML - TangoZebra',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<!-- Tangozebra.  tag_version=4.3.0, name=DfT Child Restraints > Child Restraints Banner, advert_format=Flash Banner, advert_id=7639, site=radiotimes -->
        <script language="Javascript1.1" type="text/javascript">
        <!--
        var tz_rnd = Math.random();
        var tz_redirector_00007639 = "";
        var tz_vc_00007639 = "";
        var tz_force_00007639=-1;
        var tz_pv_00007639 = "";
        var tz_bit1 = "<scr";var tz_bit2 = "</";
        var tz_tag = tz_bit1 + \'ipt language="javascript1.1" type="text/javascript" \';
        tz_tag += \'src="http://ad.uk.tangozebra.com/a/aj/s/7639/228;\' + tz_rnd + \'?ad_radiotimes.js\';
        tz_tag += \'">\' + tz_bit2 + \'script>\';
        document.write(tz_tag);
        //-->
        </script>
        <noscript>
        <a target=\'_new\' href=\'http://ad.uk.tangozebra.com/a/ac/c_noscript/7639/228/32675;TIMESTAMP?http%3A%2F%2Fwww.thinkroadsafety.gov.uk%2Fcampaigns%2Fchildcarseats%2Fchildcarseats.htm\'><img src=\'http://ad.uk.tangozebra.com/a/ai/v_noscript/7639/228/32675/bannerChild468x60;TIMESTAMP?dft_468x60_gif_backup.gif\' border=\'0\' width=\'468\' height=\'60\' alt=\'\'></a>
        </noscript>',
      'htmlcache' => '<!-- Tangozebra.  tag_version=4.3.0, name=DfT Child Restraints > Child Restraints Banner, advert_format=Flash Banner, advert_id=7639, site=radiotimes -->
        <script language="Javascript1.1" type="text/javascript">
        <!--
        var tz_rnd = Math.random();
        var tz_redirector_00007639="{clickurl}";
        var tz_vc_00007639 = "";
        var tz_force_00007639=-1;
        var tz_pv_00007639="{logurl}";
        var tz_bit1 = "<scr";var tz_bit2 = "</";
        var tz_tag = tz_bit1 + \'ipt language="javascript1.1" type="text/javascript" \';
        tz_tag += \'src="http://ad.uk.tangozebra.com/a/aj/s/7639/228;\' + tz_rnd + \'?ad_radiotimes.js\';
        tz_tag += \'">\' + tz_bit2 + \'script>\';
        document.write(tz_tag);
        //-->
        </script>
        <noscript>
        <a  href="{clickurl}http://ad.uk.tangozebra.com/a/ac/c_noscript/7639/228/32675;TIMESTAMP?http%3A%2F%2Fwww.thinkroadsafety.gov.uk%2Fcampaigns%2Fchildcarseats%2Fchildcarseats.htm"  target=\'{target}\'><img src=\'http://ad.uk.tangozebra.com/a/ai/v_noscript/7639/228/32675/bannerChild468x60;TIMESTAMP?dft_468x60_gif_backup.gif\' border=\'0\' width=\'468\' height=\'60\' alt=\'\'></a>
        </noscript>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'tangozebra',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1050 =>
    array (
      'ad_id' => '1050',
      'placement_id' => '92',
      'active' => 't',
      'name' => 'External DoubleClick GIF',
      'type' => 'url',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => ' http://ad.doubleclick.net/ad/N2806.Loot.com.ilevel/B1981389.2;sz=468x60',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://ad.doubleclick.net/jump/N2806.Loot.com.ilevel/B1981389.2;sz=468x60',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1051 =>
    array (
      'ad_id' => '1051',
      'placement_id' => '92',
      'active' => 't',
      'name' => 'External GIF',
      'type' => 'url',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => 'http://banners.affiliatefuture.com/1535/24103.gif',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => 'http://scripts.affiliatefuture.com/AFClick.asp?affiliateID=59613&merchantID=1535&programmeID=4262&mediaID=24103&tracking=CAAlphaRooms&url=',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1052 =>
    array (
      'ad_id' => '1052',
      'placement_id' => '92',
      'active' => 't',
      'name' => 'External - Jpeg',
      'type' => 'url',
      'contenttype' => 'jpeg',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => 'http://ad.uk.doubleclick.net/viewad/917749/miami_468x60.jpg',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://ad.uk.doubleclick.net/jump/N1084.Lovefilm_International/B1954050',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1053 =>
    array (
      'ad_id' => '1053',
      'placement_id' => '92',
      'active' => 't',
      'name' => 'External Flash',
      'type' => 'url',
      'contenttype' => 'swf',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => 'http://i.m3.net/man_fin_lse_468x60_onlinecfds_2.swf',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.onlinecfds.com',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '-1',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
  ),
  'cAds' =>
  array (
  ),
  'clAds' =>
  array (
  ),
  'ads' =>
  array (
    5 =>
    array (
      1022 =>
      array (
        'ad_id' => '1022',
        'placement_id' => '87',
        'active' => 't',
        'name' => 'SQL Flash',
        'type' => 'sql',
        'contenttype' => 'swf',
        'pluginversion' => '6',
        'filename' => 'm3-test-468x60_4.swf',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1024 =>
      array (
        'ad_id' => '1024',
        'placement_id' => '87',
        'active' => 't',
        'name' => 'Web Flash (With backup)',
        'type' => 'web',
        'contenttype' => 'swf',
        'pluginversion' => '6',
        'filename' => 'm3-test-468x60_9.swf',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => 'm3_test_468x60_orange_10.gif',
        'alt_imageurl' => '',
        'alt_contenttype' => 'gif',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1021 =>
      array (
        'ad_id' => '1021',
        'placement_id' => '87',
        'active' => 't',
        'name' => 'Web GIF',
        'type' => 'web',
        'contenttype' => 'gif',
        'pluginversion' => '0',
        'filename' => 'm3_test_468x60_green_12.gif',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1023 =>
      array (
        'ad_id' => '1023',
        'placement_id' => '87',
        'active' => 't',
        'name' => 'Web Flash (No backup)',
        'type' => 'web',
        'contenttype' => 'swf',
        'pluginversion' => '6',
        'filename' => 'm3-test-468x60_8.swf',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1020 =>
      array (
        'ad_id' => '1020',
        'placement_id' => '87',
        'active' => 't',
        'name' => 'SQL GIF',
        'type' => 'sql',
        'contenttype' => 'gif',
        'pluginversion' => '0',
        'filename' => 'm3_test_468x60_blue_2.gif',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1047 =>
      array (
        'ad_id' => '1047',
        'placement_id' => '91',
        'active' => 't',
        'name' => 'External GIF',
        'type' => 'url',
        'contenttype' => 'gif',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => 'http://banners.affiliatefuture.com/1535/24103.gif',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => 'http://scripts.affiliatefuture.com/AFClick.asp?affiliateID=59613&merchantID=1535&programmeID=4262&mediaID=24103&tracking=CAAlphaRooms&url=',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1049 =>
      array (
        'ad_id' => '1049',
        'placement_id' => '91',
        'active' => 't',
        'name' => 'External Flash',
        'type' => 'url',
        'contenttype' => 'swf',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => 'http://i.m3.net/man_fin_lse_468x60_onlinecfds_2.swf',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.onlinecfds.com',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1046 =>
      array (
        'ad_id' => '1046',
        'placement_id' => '91',
        'active' => 't',
        'name' => 'External DoubleClick GIF',
        'type' => 'url',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => ' http://ad.doubleclick.net/ad/N2806.Loot.com.ilevel/B1981389.2;sz=468x60',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://ad.doubleclick.net/jump/N2806.Loot.com.ilevel/B1981389.2;sz=468x60',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1048 =>
      array (
        'ad_id' => '1048',
        'placement_id' => '91',
        'active' => 't',
        'name' => 'External - Jpeg',
        'type' => 'url',
        'contenttype' => 'jpeg',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => 'http://ad.uk.doubleclick.net/viewad/917749/miami_468x60.jpg',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://ad.uk.doubleclick.net/jump/N1084.Lovefilm_International/B1954050',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1031 =>
      array (
        'ad_id' => '1031',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - Bluestreak',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<SCRIPT LANGUAGE="JavaScript" type="text/javascript"
         SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1901891&amp;u=&amp;n=Insert_Time_Stamp_Here&amp;cltk=Insert_Click_Track_URL_Here">
        </script><noscript><a
         href=\'http://s0b.bluestreak.com/ix.e?hr&amp;s=1901891\'
         target=_top><img src=\'http://s0b.bluestreak.com/ix.e?ir&amp;s=1901891\'
         border=0 alt=""></a></noscript>',
        'htmlcache' => '<SCRIPT LANGUAGE="JavaScript" type="text/javascript"
         SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1901891&amp;u=&amp;n={random}&amp;cltk={clickurl}">
        </script>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'bluestreak',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1036 =>
      array (
        'ad_id' => '1036',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - Mediaplex',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/4304-41054-15950-0?mpt=[CACHEBUSTER]&mpvc=">
        </script>
        <noscript>
        <a href="http://altfarm.mediaplex.com/ad/ck/4304-41054-15950-0?mpt=[CACHEBUSTER]">
        <img src="http://altfarm.mediaplex.com/ad/bn/4304-41054-15950-0?mpt=[CACHEBUSTER]"
        alt="Click Here" border="0">
        </a>
        </noscript>',
        'htmlcache' => '<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/4304-41054-15950-0?mpt={random}&mpvc={clickurl}">
        </script>
        ',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'mediaplex',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1037 =>
      array (
        'ad_id' => '1037',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - TangoZebra',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<!-- Tangozebra.  tag_version=4.3.0, name=DfT Child Restraints > Child Restraints Banner, advert_format=Flash Banner, advert_id=7639, site=radiotimes -->
        <script language="Javascript1.1" type="text/javascript">
        <!--
        var tz_rnd = Math.random();
        var tz_redirector_00007639 = "";
        var tz_vc_00007639 = "";
        var tz_force_00007639=-1;
        var tz_pv_00007639 = "";
        var tz_bit1 = "<scr";var tz_bit2 = "</";
        var tz_tag = tz_bit1 + \'ipt language="javascript1.1" type="text/javascript" \';
        tz_tag += \'src="http://ad.uk.tangozebra.com/a/aj/s/7639/228;\' + tz_rnd + \'?ad_radiotimes.js\';
        tz_tag += \'">\' + tz_bit2 + \'script>\';
        document.write(tz_tag);
        //-->
        </script>
        <noscript>
        <a target=\'_new\' href=\'http://ad.uk.tangozebra.com/a/ac/c_noscript/7639/228/32675;TIMESTAMP?http%3A%2F%2Fwww.thinkroadsafety.gov.uk%2Fcampaigns%2Fchildcarseats%2Fchildcarseats.htm\'><img src=\'http://ad.uk.tangozebra.com/a/ai/v_noscript/7639/228/32675/bannerChild468x60;TIMESTAMP?dft_468x60_gif_backup.gif\' border=\'0\' width=\'468\' height=\'60\' alt=\'\'></a>
        </noscript>',
        'htmlcache' => '<!-- Tangozebra.  tag_version=4.3.0, name=DfT Child Restraints > Child Restraints Banner, advert_format=Flash Banner, advert_id=7639, site=radiotimes -->
        <script language="Javascript1.1" type="text/javascript">
        <!--
        var tz_rnd = Math.random();
        var tz_redirector_00007639="{clickurl}";
        var tz_vc_00007639 = "";
        var tz_force_00007639=-1;
        var tz_pv_00007639="{logurl}";
        var tz_bit1 = "<scr";var tz_bit2 = "</";
        var tz_tag = tz_bit1 + \'ipt language="javascript1.1" type="text/javascript" \';
        tz_tag += \'src="http://ad.uk.tangozebra.com/a/aj/s/7639/228;\' + tz_rnd + \'?ad_radiotimes.js\';
        tz_tag += \'">\' + tz_bit2 + \'script>\';
        document.write(tz_tag);
        //-->
        </script>
        <noscript>
        <a  href="{clickurl}http://ad.uk.tangozebra.com/a/ac/c_noscript/7639/228/32675;TIMESTAMP?http%3A%2F%2Fwww.thinkroadsafety.gov.uk%2Fcampaigns%2Fchildcarseats%2Fchildcarseats.htm"  target=\'{target}\'><img src=\'http://ad.uk.tangozebra.com/a/ai/v_noscript/7639/228/32675/bannerChild468x60;TIMESTAMP?dft_468x60_gif_backup.gif\' border=\'0\' width=\'468\' height=\'60\' alt=\'\'></a>
        </noscript>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'tangozebra',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1033 =>
      array (
        'ad_id' => '1033',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - EyeBlaster',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<script>
        var gnEbMinZIndex = 10000;
        var gfEbInIframe = false;
        var gEbBAd = new Object();
        gEbBAd.nFlightID = 147345;
        gEbBAd.nWidth = 468;
        gEbBAd.nHeight = 60;
        var gstrEbRandnum = new String(Math.random());
        gstrEbRandnum = gstrEbRandnum.substring(gstrEbRandnum.indexOf(".")+1 , gstrEbRandnum.length);
        gEbBAd.strNonSupported = "http://bs.serving-sys.com/BurstingPipe/NonSupportedBanner.asp?FlightID=147345&Page=&PluID=0&Width=468&Height=60&Pos=" + gstrEbRandnum;
        </script>
        <script src="http://ds.serving-sys.com/BurstingScript/ebBannerServing_147345.js"></script>
        <noscript>
        <a href=\'http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' target=\'_blank\'><img src=\'http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' border=0 width=468 height=60\'></a>
        </noscript>',
        'htmlcache' => '<script>
        var gnEbMinZIndex = 10000;
        var gfEbInIframe = false;
        var gEbBAd = new Object();
        gEbBAd.nFlightID = 147345;
        //Interactions
        gEbBAd.interactions = new Object();
        gEbBAd.interactions["_eyeblaster"] = "ebN={clickurl}";

        gEbBAd.nWidth = 468;
        gEbBAd.nHeight = 60;
        var gstrEbRandnum = new String(Math.random());
        gstrEbRandnum = gstrEbRandnum.substring(gstrEbRandnum.indexOf(".")+1 , gstrEbRandnum.length);
        gEbBAd.strNonSupported = "http://bs.serving-sys.com/BurstingPipe/NonSupportedBanner.asp?FlightID=147345&Page=&PluID=0&Width=468&Height=60&Pos=" + gstrEbRandnum;
        </script>
        <script src="http://ds.serving-sys.com/BurstingScript/ebBannerServing_147345.js"></script>
        <noscript>
        <a href="{clickurl}http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=147345&Page=&PluID=0&Pos=1926"   target=\'{target}\'><img src=\'http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' border=0 width=468 height=60\'></a>
        </noscript>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'eyeblaster',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1030 =>
      array (
        'ad_id' => '1030',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - Atlas',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<iframe src="http://view.atdmt.com/ZED/iview/ltkxxlly0010000008zed/direct/01?click=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">
        <script language="JavaScript" type="text/javascript">
        document.write(\'<a href="http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/" target="_blank"><img src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/"/></a>\');
        </script><noscript><a href="http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/" /></a></noscript></iframe>',
        'htmlcache' => '<iframe src="http://view.atdmt.com/ZED/iview/ltkxxlly0010000008zed/direct/01?click={clickurl}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">
        <script language="JavaScript" type="text/javascript">
        document.write(\'<a href="{clickurl}http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/"   target=\'{target}\'><img src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/"/></a>\');
        </script><noscript><a href="{clickurl}http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/"   target=\'{target}\'><img border="0" src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/" /></a></noscript></iframe>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'atlas',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1035 =>
      array (
        'ad_id' => '1035',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - m3',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<iframe id=\'af013aeb\' name=\'af013aeb\' src=\'http://d.m3.net/afr.php?zoneid=962&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_CLICKURL_HERE\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'468\' height=\'60\'><a href=\'http://d.m3.net/ck.php?n=a53f6a14&amp;cb=INSERT_RANDOM_NUMBER_HERE\' target=\'_blank\'><img src=\'http://d.m3.net/avw.php?zoneid=962&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a53f6a14&amp;ct0=INSERT_CLICKURL_HERE\' border=\'0\' alt=\'\' /></a></iframe>',
        'htmlcache' => '<iframe id=\'af013aeb\' name=\'af013aeb\' src=\'http://d.m3.net/afr.php?zoneid=962&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_CLICKURL_HERE\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'468\' height=\'60\'><a href="{clickurl}http://d.m3.net/ck.php?n=a53f6a14&amp;cb=INSERT_RANDOM_NUMBER_HERE"   target=\'{target}\'><img src=\'http://d.m3.net/avw.php?zoneid=962&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a53f6a14&amp;ct0=INSERT_CLICKURL_HERE\' border=\'0\' alt=\'\' /></a></iframe>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'max',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1032 =>
      array (
        'ad_id' => '1032',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - Bluestreak',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<SCRIPT language=\'JavaScript1.1\' SRC="http://ad.uk.doubleclick.net/adj/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?">
        </SCRIPT>
        <NOSCRIPT>
        <A HREF="http://ad.uk.doubleclick.net/jump/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?">
        <IMG SRC="http://ad.uk.doubleclick.net/ad/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!"></A>
        </NOSCRIPT>',
        'htmlcache' => '<SCRIPT language=\'JavaScript1.1\' SRC="http://ad.uk.doubleclick.net/adj/N2806.TopGear.ilevel/B1987452;click0={clickurl};sz=468x60;ord={random}?">
        </SCRIPT>
        <NOSCRIPT>
        <a href="{clickurl}http://ad.uk.doubleclick.net/jump/N2806.TopGear.ilevel/B1987452;sz=468x60;ord={random}?"  target=\'{target}\'>
        <IMG SRC="http://ad.uk.doubleclick.net/ad/N2806.TopGear.ilevel/B1987452;sz=468x60;ord={random}?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!"></A>
        </NOSCRIPT>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'doubleclick',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
    ),
  ),
  'lAds' =>
  array (
    1016 =>
    array (
      'ad_id' => '1016',
      'placement_id' => '85',
      'active' => 't',
      'name' => 'External - Jpeg',
      'type' => 'url',
      'contenttype' => 'jpeg',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => 'http://ad.uk.doubleclick.net/viewad/917749/miami_468x60.jpg',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://ad.uk.doubleclick.net/jump/N1084.Lovefilm_International/B1954050',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1012 =>
    array (
      'ad_id' => '1012',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - Mediaplex',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/4304-41054-15950-0?mpt=[CACHEBUSTER]&mpvc=">
        </script>
        <noscript>
        <a href="http://altfarm.mediaplex.com/ad/ck/4304-41054-15950-0?mpt=[CACHEBUSTER]">
        <img src="http://altfarm.mediaplex.com/ad/bn/4304-41054-15950-0?mpt=[CACHEBUSTER]"
        alt="Click Here" border="0">
        </a>
        </noscript>',
      'htmlcache' => '<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/4304-41054-15950-0?mpt={random}&mpvc={clickurl}">
        </script>
        ',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'mediaplex',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1002 =>
    array (
      'ad_id' => '1002',
      'placement_id' => '83',
      'active' => 't',
      'name' => 'Web GIF',
      'type' => 'web',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_green_11.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1009 =>
    array (
      'ad_id' => '1009',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - EyeBlaster',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<script>
        var gnEbMinZIndex = 10000;
        var gfEbInIframe = false;
        var gEbBAd = new Object();
        gEbBAd.nFlightID = 147345;
        gEbBAd.nWidth = 468;
        gEbBAd.nHeight = 60;
        var gstrEbRandnum = new String(Math.random());
        gstrEbRandnum = gstrEbRandnum.substring(gstrEbRandnum.indexOf(".")+1 , gstrEbRandnum.length);
        gEbBAd.strNonSupported = "http://bs.serving-sys.com/BurstingPipe/NonSupportedBanner.asp?FlightID=147345&Page=&PluID=0&Width=468&Height=60&Pos=" + gstrEbRandnum;
        </script>
        <script src="http://ds.serving-sys.com/BurstingScript/ebBannerServing_147345.js"></script>
        <noscript>
        <a href=\'http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' target=\'_blank\'><img src=\'http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' border=0 width=468 height=60\'></a>
        </noscript>',
      'htmlcache' => '<script>
        var gnEbMinZIndex = 10000;
        var gfEbInIframe = false;
        var gEbBAd = new Object();
        gEbBAd.nFlightID = 147345;
        //Interactions
        gEbBAd.interactions = new Object();
        gEbBAd.interactions["_eyeblaster"] = "ebN={clickurl}";

        gEbBAd.nWidth = 468;
        gEbBAd.nHeight = 60;
        var gstrEbRandnum = new String(Math.random());
        gstrEbRandnum = gstrEbRandnum.substring(gstrEbRandnum.indexOf(".")+1 , gstrEbRandnum.length);
        gEbBAd.strNonSupported = "http://bs.serving-sys.com/BurstingPipe/NonSupportedBanner.asp?FlightID=147345&Page=&PluID=0&Width=468&Height=60&Pos=" + gstrEbRandnum;
        </script>
        <script src="http://ds.serving-sys.com/BurstingScript/ebBannerServing_147345.js"></script>
        <noscript>
        <a href="{clickurl}http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=147345&Page=&PluID=0&Pos=1926"   target=\'{target}\'><img src=\'http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' border=0 width=468 height=60\'></a>
        </noscript>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'eyeblaster',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1003 =>
    array (
      'ad_id' => '1003',
      'placement_id' => '83',
      'active' => 't',
      'name' => 'SQL Flash',
      'type' => 'sql',
      'contenttype' => 'swf',
      'pluginversion' => '6',
      'filename' => 'm3-test-468x60_3.swf',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1014 =>
    array (
      'ad_id' => '1014',
      'placement_id' => '85',
      'active' => 't',
      'name' => 'External DoubleClick GIF',
      'type' => 'url',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => ' http://ad.doubleclick.net/ad/N2806.Loot.com.ilevel/B1981389.2;sz=468x60',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://ad.doubleclick.net/jump/N2806.Loot.com.ilevel/B1981389.2;sz=468x60',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1004 =>
    array (
      'ad_id' => '1004',
      'placement_id' => '83',
      'active' => 't',
      'name' => 'Web Flash (No backup)',
      'type' => 'web',
      'contenttype' => 'swf',
      'pluginversion' => '6',
      'filename' => 'm3-test-468x60_6.swf',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1001 =>
    array (
      'ad_id' => '1001',
      'placement_id' => '83',
      'active' => 't',
      'name' => 'SQL GIF',
      'type' => 'sql',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_blue.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1005 =>
    array (
      'ad_id' => '1005',
      'placement_id' => '83',
      'active' => 't',
      'name' => 'Web Flash (With backup)',
      'type' => 'web',
      'contenttype' => 'swf',
      'pluginversion' => '6',
      'filename' => 'm3-test-468x60_7.swf',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => 'm3_test_468x60_orange_10.gif',
      'alt_imageurl' => '',
      'alt_contenttype' => 'gif',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1011 =>
    array (
      'ad_id' => '1011',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - m3',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<iframe id=\'af013aeb\' name=\'af013aeb\' src=\'http://d.m3.net/afr.php?zoneid=962&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_CLICKURL_HERE\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'468\' height=\'60\'><a href=\'http://d.m3.net/ck.php?n=a53f6a14&amp;cb=INSERT_RANDOM_NUMBER_HERE\' target=\'_blank\'><img src=\'http://d.m3.net/avw.php?zoneid=962&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a53f6a14&amp;ct0=INSERT_CLICKURL_HERE\' border=\'0\' alt=\'\' /></a></iframe>',
      'htmlcache' => '<iframe id=\'af013aeb\' name=\'af013aeb\' src=\'http://d.m3.net/afr.php?zoneid=962&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_CLICKURL_HERE\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'468\' height=\'60\'><a href="{clickurl}http://d.m3.net/ck.php?n=a53f6a14&amp;cb=INSERT_RANDOM_NUMBER_HERE"   target=\'{target}\'><img src=\'http://d.m3.net/avw.php?zoneid=962&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a53f6a14&amp;ct0=INSERT_CLICKURL_HERE\' border=\'0\' alt=\'\' /></a></iframe>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'max',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1006 =>
    array (
      'ad_id' => '1006',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - Atlas',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<iframe src="http://view.atdmt.com/ZED/iview/ltkxxlly0010000008zed/direct/01?click=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">
        <script language="JavaScript" type="text/javascript">
        document.write(\'<a href="http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/" target="_blank"><img src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/"/></a>\');
        </script><noscript><a href="http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/" /></a></noscript></iframe>',
      'htmlcache' => '<iframe src="http://view.atdmt.com/ZED/iview/ltkxxlly0010000008zed/direct/01?click={clickurl}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">
        <script language="JavaScript" type="text/javascript">
        document.write(\'<a href="{clickurl}http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/"   target=\'{target}\'><img src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/"/></a>\');
        </script><noscript><a href="{clickurl}http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/"   target=\'{target}\'><img border="0" src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/" /></a></noscript></iframe>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'atlas',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1013 =>
    array (
      'ad_id' => '1013',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - TangoZebra',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<!-- Tangozebra.  tag_version=4.3.0, name=DfT Child Restraints > Child Restraints Banner, advert_format=Flash Banner, advert_id=7639, site=radiotimes -->
        <script language="Javascript1.1" type="text/javascript">
        <!--
        var tz_rnd = Math.random();
        var tz_redirector_00007639 = "";
        var tz_vc_00007639 = "";
        var tz_force_00007639=-1;
        var tz_pv_00007639 = "";
        var tz_bit1 = "<scr";var tz_bit2 = "</";
        var tz_tag = tz_bit1 + \'ipt language="javascript1.1" type="text/javascript" \';
        tz_tag += \'src="http://ad.uk.tangozebra.com/a/aj/s/7639/228;\' + tz_rnd + \'?ad_radiotimes.js\';
        tz_tag += \'">\' + tz_bit2 + \'script>\';
        document.write(tz_tag);
        //-->
        </script>
        <noscript>
        <a target=\'_new\' href=\'http://ad.uk.tangozebra.com/a/ac/c_noscript/7639/228/32675;TIMESTAMP?http%3A%2F%2Fwww.thinkroadsafety.gov.uk%2Fcampaigns%2Fchildcarseats%2Fchildcarseats.htm\'><img src=\'http://ad.uk.tangozebra.com/a/ai/v_noscript/7639/228/32675/bannerChild468x60;TIMESTAMP?dft_468x60_gif_backup.gif\' border=\'0\' width=\'468\' height=\'60\' alt=\'\'></a>
        </noscript>',
      'htmlcache' => '<!-- Tangozebra.  tag_version=4.3.0, name=DfT Child Restraints > Child Restraints Banner, advert_format=Flash Banner, advert_id=7639, site=radiotimes -->
        <script language="Javascript1.1" type="text/javascript">
        <!--
        var tz_rnd = Math.random();
        var tz_redirector_00007639="{clickurl}";
        var tz_vc_00007639 = "";
        var tz_force_00007639=-1;
        var tz_pv_00007639="{logurl}";
        var tz_bit1 = "<scr";var tz_bit2 = "</";
        var tz_tag = tz_bit1 + \'ipt language="javascript1.1" type="text/javascript" \';
        tz_tag += \'src="http://ad.uk.tangozebra.com/a/aj/s/7639/228;\' + tz_rnd + \'?ad_radiotimes.js\';
        tz_tag += \'">\' + tz_bit2 + \'script>\';
        document.write(tz_tag);
        //-->
        </script>
        <noscript>
        <a  href="{clickurl}http://ad.uk.tangozebra.com/a/ac/c_noscript/7639/228/32675;TIMESTAMP?http%3A%2F%2Fwww.thinkroadsafety.gov.uk%2Fcampaigns%2Fchildcarseats%2Fchildcarseats.htm"  target=\'{target}\'><img src=\'http://ad.uk.tangozebra.com/a/ai/v_noscript/7639/228/32675/bannerChild468x60;TIMESTAMP?dft_468x60_gif_backup.gif\' border=\'0\' width=\'468\' height=\'60\' alt=\'\'></a>
        </noscript>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'tangozebra',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1007 =>
    array (
      'ad_id' => '1007',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - Bluestreak',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<SCRIPT LANGUAGE="JavaScript" type="text/javascript"
         SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1901891&amp;u=&amp;n=Insert_Time_Stamp_Here&amp;cltk=Insert_Click_Track_URL_Here">
        </script><noscript><a
         href=\'http://s0b.bluestreak.com/ix.e?hr&amp;s=1901891\'
         target=_top><img src=\'http://s0b.bluestreak.com/ix.e?ir&amp;s=1901891\'
         border=0 alt=""></a></noscript>',
      'htmlcache' => '<SCRIPT LANGUAGE="JavaScript" type="text/javascript"
         SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1901891&amp;u=&amp;n={random}&amp;cltk={clickurl}">
        </script>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'bluestreak',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1015 =>
    array (
      'ad_id' => '1015',
      'placement_id' => '85',
      'active' => 't',
      'name' => 'External GIF',
      'type' => 'url',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => 'http://banners.affiliatefuture.com/1535/24103.gif',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => 'http://scripts.affiliatefuture.com/AFClick.asp?affiliateID=59613&merchantID=1535&programmeID=4262&mediaID=24103&tracking=CAAlphaRooms&url=',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1008 =>
    array (
      'ad_id' => '1008',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - Bluestreak',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<SCRIPT language=\'JavaScript1.1\' SRC="http://ad.uk.doubleclick.net/adj/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?">
        </SCRIPT>
        <NOSCRIPT>
        <A HREF="http://ad.uk.doubleclick.net/jump/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?">
        <IMG SRC="http://ad.uk.doubleclick.net/ad/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!"></A>
        </NOSCRIPT>',
      'htmlcache' => '<SCRIPT language=\'JavaScript1.1\' SRC="http://ad.uk.doubleclick.net/adj/N2806.TopGear.ilevel/B1987452;click0={clickurl};sz=468x60;ord={random}?">
        </SCRIPT>
        <NOSCRIPT>
        <a href="{clickurl}http://ad.uk.doubleclick.net/jump/N2806.TopGear.ilevel/B1987452;sz=468x60;ord={random}?"  target=\'{target}\'>
        <IMG SRC="http://ad.uk.doubleclick.net/ad/N2806.TopGear.ilevel/B1987452;sz=468x60;ord={random}?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!"></A>
        </NOSCRIPT>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'doubleclick',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1017 =>
    array (
      'ad_id' => '1017',
      'placement_id' => '85',
      'active' => 't',
      'name' => 'External Flash',
      'type' => 'url',
      'contenttype' => 'swf',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => 'http://i.m3.net/man_fin_lse_468x60_onlinecfds_2.swf',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.onlinecfds.com',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
  ),
  'count_active' => 48,
  'zone_companion' => false,
  'priority' =>
  array (
    'xAds' => 16,
    'cAds' =>
    array (
      5 => 0,
    ),
    'clAds' => 0,
    'ads' =>
    array (
      5 => 0.98901098901,
    ),
    'lAds' => 16,
  ),
);

// Test 2
$aLinked_ads = array (
  'zone_id' => '61',
  'publisher_id' => '22',
  'name' => 'Banner (Mixed)',
  'type' => '0',
  'description' => '',
  'width' => '468',
  'height' => '60',
  'chain' => '',
  'prepend' => '',
  'append' => '',
  'appendtype' => '0',
  'forceappend' => 'f',
  'inventory_forecast_type' => '0',
  'default_banner_url' => NULL,
  'default_banner_dest' => NULL,
  'xAds' =>
  array (
  ),
  'cAds' =>
  array (
  ),
  'clAds' =>
  array (
  ),
  'ads' =>
  array (
    5 =>
    array (
      1022 =>
      array (
        'ad_id' => '1022',
        'placement_id' => '87',
        'active' => 't',
        'name' => 'SQL Flash',
        'type' => 'sql',
        'contenttype' => 'swf',
        'pluginversion' => '6',
        'filename' => 'm3-test-468x60_4.swf',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1024 =>
      array (
        'ad_id' => '1024',
        'placement_id' => '87',
        'active' => 't',
        'name' => 'Web Flash (With backup)',
        'type' => 'web',
        'contenttype' => 'swf',
        'pluginversion' => '6',
        'filename' => 'm3-test-468x60_9.swf',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => 'm3_test_468x60_orange_10.gif',
        'alt_imageurl' => '',
        'alt_contenttype' => 'gif',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1021 =>
      array (
        'ad_id' => '1021',
        'placement_id' => '87',
        'active' => 't',
        'name' => 'Web GIF',
        'type' => 'web',
        'contenttype' => 'gif',
        'pluginversion' => '0',
        'filename' => 'm3_test_468x60_green_12.gif',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1023 =>
      array (
        'ad_id' => '1023',
        'placement_id' => '87',
        'active' => 't',
        'name' => 'Web Flash (No backup)',
        'type' => 'web',
        'contenttype' => 'swf',
        'pluginversion' => '6',
        'filename' => 'm3-test-468x60_8.swf',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1020 =>
      array (
        'ad_id' => '1020',
        'placement_id' => '87',
        'active' => 't',
        'name' => 'SQL GIF',
        'type' => 'sql',
        'contenttype' => 'gif',
        'pluginversion' => '0',
        'filename' => 'm3_test_468x60_blue_2.gif',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1047 =>
      array (
        'ad_id' => '1047',
        'placement_id' => '91',
        'active' => 't',
        'name' => 'External GIF',
        'type' => 'url',
        'contenttype' => 'gif',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => 'http://banners.affiliatefuture.com/1535/24103.gif',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => 'http://scripts.affiliatefuture.com/AFClick.asp?affiliateID=59613&merchantID=1535&programmeID=4262&mediaID=24103&tracking=CAAlphaRooms&url=',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1049 =>
      array (
        'ad_id' => '1049',
        'placement_id' => '91',
        'active' => 't',
        'name' => 'External Flash',
        'type' => 'url',
        'contenttype' => 'swf',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => 'http://i.m3.net/man_fin_lse_468x60_onlinecfds_2.swf',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.onlinecfds.com',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1046 =>
      array (
        'ad_id' => '1046',
        'placement_id' => '91',
        'active' => 't',
        'name' => 'External DoubleClick GIF',
        'type' => 'url',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => ' http://ad.doubleclick.net/ad/N2806.Loot.com.ilevel/B1981389.2;sz=468x60',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://ad.doubleclick.net/jump/N2806.Loot.com.ilevel/B1981389.2;sz=468x60',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1048 =>
      array (
        'ad_id' => '1048',
        'placement_id' => '91',
        'active' => 't',
        'name' => 'External - Jpeg',
        'type' => 'url',
        'contenttype' => 'jpeg',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => 'http://ad.uk.doubleclick.net/viewad/917749/miami_468x60.jpg',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://ad.uk.doubleclick.net/jump/N1084.Lovefilm_International/B1954050',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0.10989010989',
        'priority_factor' => 1,
      ),
      1031 =>
      array (
        'ad_id' => '1031',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - Bluestreak',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<SCRIPT LANGUAGE="JavaScript" type="text/javascript"
         SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1901891&amp;u=&amp;n=Insert_Time_Stamp_Here&amp;cltk=Insert_Click_Track_URL_Here">
        </script><noscript><a
         href=\'http://s0b.bluestreak.com/ix.e?hr&amp;s=1901891\'
         target=_top><img src=\'http://s0b.bluestreak.com/ix.e?ir&amp;s=1901891\'
         border=0 alt=""></a></noscript>',
        'htmlcache' => '<SCRIPT LANGUAGE="JavaScript" type="text/javascript"
         SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1901891&amp;u=&amp;n={random}&amp;cltk={clickurl}">
        </script>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'bluestreak',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1036 =>
      array (
        'ad_id' => '1036',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - Mediaplex',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/4304-41054-15950-0?mpt=[CACHEBUSTER]&mpvc=">
        </script>
        <noscript>
        <a href="http://altfarm.mediaplex.com/ad/ck/4304-41054-15950-0?mpt=[CACHEBUSTER]">
        <img src="http://altfarm.mediaplex.com/ad/bn/4304-41054-15950-0?mpt=[CACHEBUSTER]"
        alt="Click Here" border="0">
        </a>
        </noscript>',
        'htmlcache' => '<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/4304-41054-15950-0?mpt={random}&mpvc={clickurl}">
        </script>
        ',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'mediaplex',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1037 =>
      array (
        'ad_id' => '1037',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - TangoZebra',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<!-- Tangozebra.  tag_version=4.3.0, name=DfT Child Restraints > Child Restraints Banner, advert_format=Flash Banner, advert_id=7639, site=radiotimes -->
        <script language="Javascript1.1" type="text/javascript">
        <!--
        var tz_rnd = Math.random();
        var tz_redirector_00007639 = "";
        var tz_vc_00007639 = "";
        var tz_force_00007639=-1;
        var tz_pv_00007639 = "";
        var tz_bit1 = "<scr";var tz_bit2 = "</";
        var tz_tag = tz_bit1 + \'ipt language="javascript1.1" type="text/javascript" \';
        tz_tag += \'src="http://ad.uk.tangozebra.com/a/aj/s/7639/228;\' + tz_rnd + \'?ad_radiotimes.js\';
        tz_tag += \'">\' + tz_bit2 + \'script>\';
        document.write(tz_tag);
        //-->
        </script>
        <noscript>
        <a target=\'_new\' href=\'http://ad.uk.tangozebra.com/a/ac/c_noscript/7639/228/32675;TIMESTAMP?http%3A%2F%2Fwww.thinkroadsafety.gov.uk%2Fcampaigns%2Fchildcarseats%2Fchildcarseats.htm\'><img src=\'http://ad.uk.tangozebra.com/a/ai/v_noscript/7639/228/32675/bannerChild468x60;TIMESTAMP?dft_468x60_gif_backup.gif\' border=\'0\' width=\'468\' height=\'60\' alt=\'\'></a>
        </noscript>',
        'htmlcache' => '<!-- Tangozebra.  tag_version=4.3.0, name=DfT Child Restraints > Child Restraints Banner, advert_format=Flash Banner, advert_id=7639, site=radiotimes -->
        <script language="Javascript1.1" type="text/javascript">
        <!--
        var tz_rnd = Math.random();
        var tz_redirector_00007639="{clickurl}";
        var tz_vc_00007639 = "";
        var tz_force_00007639=-1;
        var tz_pv_00007639="{logurl}";
        var tz_bit1 = "<scr";var tz_bit2 = "</";
        var tz_tag = tz_bit1 + \'ipt language="javascript1.1" type="text/javascript" \';
        tz_tag += \'src="http://ad.uk.tangozebra.com/a/aj/s/7639/228;\' + tz_rnd + \'?ad_radiotimes.js\';
        tz_tag += \'">\' + tz_bit2 + \'script>\';
        document.write(tz_tag);
        //-->
        </script>
        <noscript>
        <a  href="{clickurl}http://ad.uk.tangozebra.com/a/ac/c_noscript/7639/228/32675;TIMESTAMP?http%3A%2F%2Fwww.thinkroadsafety.gov.uk%2Fcampaigns%2Fchildcarseats%2Fchildcarseats.htm"  target=\'{target}\'><img src=\'http://ad.uk.tangozebra.com/a/ai/v_noscript/7639/228/32675/bannerChild468x60;TIMESTAMP?dft_468x60_gif_backup.gif\' border=\'0\' width=\'468\' height=\'60\' alt=\'\'></a>
        </noscript>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'tangozebra',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1033 =>
      array (
        'ad_id' => '1033',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - EyeBlaster',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<script>
        var gnEbMinZIndex = 10000;
        var gfEbInIframe = false;
        var gEbBAd = new Object();
        gEbBAd.nFlightID = 147345;
        gEbBAd.nWidth = 468;
        gEbBAd.nHeight = 60;
        var gstrEbRandnum = new String(Math.random());
        gstrEbRandnum = gstrEbRandnum.substring(gstrEbRandnum.indexOf(".")+1 , gstrEbRandnum.length);
        gEbBAd.strNonSupported = "http://bs.serving-sys.com/BurstingPipe/NonSupportedBanner.asp?FlightID=147345&Page=&PluID=0&Width=468&Height=60&Pos=" + gstrEbRandnum;
        </script>
        <script src="http://ds.serving-sys.com/BurstingScript/ebBannerServing_147345.js"></script>
        <noscript>
        <a href=\'http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' target=\'_blank\'><img src=\'http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' border=0 width=468 height=60\'></a>
        </noscript>',
        'htmlcache' => '<script>
        var gnEbMinZIndex = 10000;
        var gfEbInIframe = false;
        var gEbBAd = new Object();
        gEbBAd.nFlightID = 147345;
        //Interactions
        gEbBAd.interactions = new Object();
        gEbBAd.interactions["_eyeblaster"] = "ebN={clickurl}";

        gEbBAd.nWidth = 468;
        gEbBAd.nHeight = 60;
        var gstrEbRandnum = new String(Math.random());
        gstrEbRandnum = gstrEbRandnum.substring(gstrEbRandnum.indexOf(".")+1 , gstrEbRandnum.length);
        gEbBAd.strNonSupported = "http://bs.serving-sys.com/BurstingPipe/NonSupportedBanner.asp?FlightID=147345&Page=&PluID=0&Width=468&Height=60&Pos=" + gstrEbRandnum;
        </script>
        <script src="http://ds.serving-sys.com/BurstingScript/ebBannerServing_147345.js"></script>
        <noscript>
        <a href="{clickurl}http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=147345&Page=&PluID=0&Pos=1926"   target=\'{target}\'><img src=\'http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' border=0 width=468 height=60\'></a>
        </noscript>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'eyeblaster',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1030 =>
      array (
        'ad_id' => '1030',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - Atlas',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<iframe src="http://view.atdmt.com/ZED/iview/ltkxxlly0010000008zed/direct/01?click=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">
        <script language="JavaScript" type="text/javascript">
        document.write(\'<a href="http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/" target="_blank"><img src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/"/></a>\');
        </script><noscript><a href="http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/" /></a></noscript></iframe>',
        'htmlcache' => '<iframe src="http://view.atdmt.com/ZED/iview/ltkxxlly0010000008zed/direct/01?click={clickurl}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">
        <script language="JavaScript" type="text/javascript">
        document.write(\'<a href="{clickurl}http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/"   target=\'{target}\'><img src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/"/></a>\');
        </script><noscript><a href="{clickurl}http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/"   target=\'{target}\'><img border="0" src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/" /></a></noscript></iframe>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'atlas',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1035 =>
      array (
        'ad_id' => '1035',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - m3',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<iframe id=\'af013aeb\' name=\'af013aeb\' src=\'http://d.m3.net/afr.php?zoneid=962&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_CLICKURL_HERE\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'468\' height=\'60\'><a href=\'http://d.m3.net/ck.php?n=a53f6a14&amp;cb=INSERT_RANDOM_NUMBER_HERE\' target=\'_blank\'><img src=\'http://d.m3.net/avw.php?zoneid=962&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a53f6a14&amp;ct0=INSERT_CLICKURL_HERE\' border=\'0\' alt=\'\' /></a></iframe>',
        'htmlcache' => '<iframe id=\'af013aeb\' name=\'af013aeb\' src=\'http://d.m3.net/afr.php?zoneid=962&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_CLICKURL_HERE\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'468\' height=\'60\'><a href="{clickurl}http://d.m3.net/ck.php?n=a53f6a14&amp;cb=INSERT_RANDOM_NUMBER_HERE"   target=\'{target}\'><img src=\'http://d.m3.net/avw.php?zoneid=962&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a53f6a14&amp;ct0=INSERT_CLICKURL_HERE\' border=\'0\' alt=\'\' /></a></iframe>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'max',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
      1032 =>
      array (
        'ad_id' => '1032',
        'placement_id' => '89',
        'active' => 't',
        'name' => 'HTML - Bluestreak',
        'type' => 'html',
        'contenttype' => '',
        'pluginversion' => '0',
        'filename' => '',
        'imageurl' => '',
        'htmltemplate' => '<SCRIPT language=\'JavaScript1.1\' SRC="http://ad.uk.doubleclick.net/adj/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?">
        </SCRIPT>
        <NOSCRIPT>
        <A HREF="http://ad.uk.doubleclick.net/jump/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?">
        <IMG SRC="http://ad.uk.doubleclick.net/ad/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!"></A>
        </NOSCRIPT>',
        'htmlcache' => '<SCRIPT language=\'JavaScript1.1\' SRC="http://ad.uk.doubleclick.net/adj/N2806.TopGear.ilevel/B1987452;click0={clickurl};sz=468x60;ord={random}?">
        </SCRIPT>
        <NOSCRIPT>
        <a href="{clickurl}http://ad.uk.doubleclick.net/jump/N2806.TopGear.ilevel/B1987452;sz=468x60;ord={random}?"  target=\'{target}\'>
        <IMG SRC="http://ad.uk.doubleclick.net/ad/N2806.TopGear.ilevel/B1987452;sz=468x60;ord={random}?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!"></A>
        </NOSCRIPT>',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '',
        'url' => '',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => 'doubleclick',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '5',
        'campaign_weight' => '0',
        'campaign_companion' => '0',
        'priority' => '0',
        'priority_factor' => 1,
      ),
    ),
  ),
  'lAds' =>
  array (
    1016 =>
    array (
      'ad_id' => '1016',
      'placement_id' => '85',
      'active' => 't',
      'name' => 'External - Jpeg',
      'type' => 'url',
      'contenttype' => 'jpeg',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => 'http://ad.uk.doubleclick.net/viewad/917749/miami_468x60.jpg',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://ad.uk.doubleclick.net/jump/N1084.Lovefilm_International/B1954050',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1012 =>
    array (
      'ad_id' => '1012',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - Mediaplex',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/4304-41054-15950-0?mpt=[CACHEBUSTER]&mpvc=">
        </script>
        <noscript>
        <a href="http://altfarm.mediaplex.com/ad/ck/4304-41054-15950-0?mpt=[CACHEBUSTER]">
        <img src="http://altfarm.mediaplex.com/ad/bn/4304-41054-15950-0?mpt=[CACHEBUSTER]"
        alt="Click Here" border="0">
        </a>
        </noscript>',
      'htmlcache' => '<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/4304-41054-15950-0?mpt={random}&mpvc={clickurl}">
        </script>
        ',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'mediaplex',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1002 =>
    array (
      'ad_id' => '1002',
      'placement_id' => '83',
      'active' => 't',
      'name' => 'Web GIF',
      'type' => 'web',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_green_11.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1009 =>
    array (
      'ad_id' => '1009',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - EyeBlaster',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<script>
        var gnEbMinZIndex = 10000;
        var gfEbInIframe = false;
        var gEbBAd = new Object();
        gEbBAd.nFlightID = 147345;
        gEbBAd.nWidth = 468;
        gEbBAd.nHeight = 60;
        var gstrEbRandnum = new String(Math.random());
        gstrEbRandnum = gstrEbRandnum.substring(gstrEbRandnum.indexOf(".")+1 , gstrEbRandnum.length);
        gEbBAd.strNonSupported = "http://bs.serving-sys.com/BurstingPipe/NonSupportedBanner.asp?FlightID=147345&Page=&PluID=0&Width=468&Height=60&Pos=" + gstrEbRandnum;
        </script>
        <script src="http://ds.serving-sys.com/BurstingScript/ebBannerServing_147345.js"></script>
        <noscript>
        <a href=\'http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' target=\'_blank\'><img src=\'http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' border=0 width=468 height=60\'></a>
        </noscript>',
      'htmlcache' => '<script>
        var gnEbMinZIndex = 10000;
        var gfEbInIframe = false;
        var gEbBAd = new Object();
        gEbBAd.nFlightID = 147345;
        //Interactions
        gEbBAd.interactions = new Object();
        gEbBAd.interactions["_eyeblaster"] = "ebN={clickurl}";

        gEbBAd.nWidth = 468;
        gEbBAd.nHeight = 60;
        var gstrEbRandnum = new String(Math.random());
        gstrEbRandnum = gstrEbRandnum.substring(gstrEbRandnum.indexOf(".")+1 , gstrEbRandnum.length);
        gEbBAd.strNonSupported = "http://bs.serving-sys.com/BurstingPipe/NonSupportedBanner.asp?FlightID=147345&Page=&PluID=0&Width=468&Height=60&Pos=" + gstrEbRandnum;
        </script>
        <script src="http://ds.serving-sys.com/BurstingScript/ebBannerServing_147345.js"></script>
        <noscript>
        <a href="{clickurl}http://bs.serving-sys.com/BurstingPipe/BannerRedirect.asp?FlightID=147345&Page=&PluID=0&Pos=1926"   target=\'{target}\'><img src=\'http://bs.serving-sys.com/BurstingPipe/BannerSource.asp?FlightID=147345&Page=&PluID=0&Pos=1926\' border=0 width=468 height=60\'></a>
        </noscript>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'eyeblaster',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1003 =>
    array (
      'ad_id' => '1003',
      'placement_id' => '83',
      'active' => 't',
      'name' => 'SQL Flash',
      'type' => 'sql',
      'contenttype' => 'swf',
      'pluginversion' => '6',
      'filename' => 'm3-test-468x60_3.swf',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1014 =>
    array (
      'ad_id' => '1014',
      'placement_id' => '85',
      'active' => 't',
      'name' => 'External DoubleClick GIF',
      'type' => 'url',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => ' http://ad.doubleclick.net/ad/N2806.Loot.com.ilevel/B1981389.2;sz=468x60',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://ad.doubleclick.net/jump/N2806.Loot.com.ilevel/B1981389.2;sz=468x60',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1004 =>
    array (
      'ad_id' => '1004',
      'placement_id' => '83',
      'active' => 't',
      'name' => 'Web Flash (No backup)',
      'type' => 'web',
      'contenttype' => 'swf',
      'pluginversion' => '6',
      'filename' => 'm3-test-468x60_6.swf',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1001 =>
    array (
      'ad_id' => '1001',
      'placement_id' => '83',
      'active' => 't',
      'name' => 'SQL GIF',
      'type' => 'sql',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_blue.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1005 =>
    array (
      'ad_id' => '1005',
      'placement_id' => '83',
      'active' => 't',
      'name' => 'Web Flash (With backup)',
      'type' => 'web',
      'contenttype' => 'swf',
      'pluginversion' => '6',
      'filename' => 'm3-test-468x60_7.swf',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => 'm3_test_468x60_orange_10.gif',
      'alt_imageurl' => '',
      'alt_contenttype' => 'gif',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1011 =>
    array (
      'ad_id' => '1011',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - m3',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<iframe id=\'af013aeb\' name=\'af013aeb\' src=\'http://d.m3.net/afr.php?zoneid=962&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_CLICKURL_HERE\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'468\' height=\'60\'><a href=\'http://d.m3.net/ck.php?n=a53f6a14&amp;cb=INSERT_RANDOM_NUMBER_HERE\' target=\'_blank\'><img src=\'http://d.m3.net/avw.php?zoneid=962&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a53f6a14&amp;ct0=INSERT_CLICKURL_HERE\' border=\'0\' alt=\'\' /></a></iframe>',
      'htmlcache' => '<iframe id=\'af013aeb\' name=\'af013aeb\' src=\'http://d.m3.net/afr.php?zoneid=962&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_CLICKURL_HERE\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'468\' height=\'60\'><a href="{clickurl}http://d.m3.net/ck.php?n=a53f6a14&amp;cb=INSERT_RANDOM_NUMBER_HERE"   target=\'{target}\'><img src=\'http://d.m3.net/avw.php?zoneid=962&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a53f6a14&amp;ct0=INSERT_CLICKURL_HERE\' border=\'0\' alt=\'\' /></a></iframe>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'max',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1006 =>
    array (
      'ad_id' => '1006',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - Atlas',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<iframe src="http://view.atdmt.com/ZED/iview/ltkxxlly0010000008zed/direct/01?click=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">
        <script language="JavaScript" type="text/javascript">
        document.write(\'<a href="http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/" target="_blank"><img src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/"/></a>\');
        </script><noscript><a href="http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/" /></a></noscript></iframe>',
      'htmlcache' => '<iframe src="http://view.atdmt.com/ZED/iview/ltkxxlly0010000008zed/direct/01?click={clickurl}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">
        <script language="JavaScript" type="text/javascript">
        document.write(\'<a href="{clickurl}http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/"   target=\'{target}\'><img src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/"/></a>\');
        </script><noscript><a href="{clickurl}http://clk.atdmt.com/ZED/go/ltkxxlly0010000008zed/direct/01/"   target=\'{target}\'><img border="0" src="http://view.atdmt.com/ZED/view/ltkxxlly0010000008zed/direct/01/" /></a></noscript></iframe>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'atlas',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1013 =>
    array (
      'ad_id' => '1013',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - TangoZebra',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<!-- Tangozebra.  tag_version=4.3.0, name=DfT Child Restraints > Child Restraints Banner, advert_format=Flash Banner, advert_id=7639, site=radiotimes -->
        <script language="Javascript1.1" type="text/javascript">
        <!--
        var tz_rnd = Math.random();
        var tz_redirector_00007639 = "";
        var tz_vc_00007639 = "";
        var tz_force_00007639=-1;
        var tz_pv_00007639 = "";
        var tz_bit1 = "<scr";var tz_bit2 = "</";
        var tz_tag = tz_bit1 + \'ipt language="javascript1.1" type="text/javascript" \';
        tz_tag += \'src="http://ad.uk.tangozebra.com/a/aj/s/7639/228;\' + tz_rnd + \'?ad_radiotimes.js\';
        tz_tag += \'">\' + tz_bit2 + \'script>\';
        document.write(tz_tag);
        //-->
        </script>
        <noscript>
        <a target=\'_new\' href=\'http://ad.uk.tangozebra.com/a/ac/c_noscript/7639/228/32675;TIMESTAMP?http%3A%2F%2Fwww.thinkroadsafety.gov.uk%2Fcampaigns%2Fchildcarseats%2Fchildcarseats.htm\'><img src=\'http://ad.uk.tangozebra.com/a/ai/v_noscript/7639/228/32675/bannerChild468x60;TIMESTAMP?dft_468x60_gif_backup.gif\' border=\'0\' width=\'468\' height=\'60\' alt=\'\'></a>
        </noscript>',
      'htmlcache' => '<!-- Tangozebra.  tag_version=4.3.0, name=DfT Child Restraints > Child Restraints Banner, advert_format=Flash Banner, advert_id=7639, site=radiotimes -->
        <script language="Javascript1.1" type="text/javascript">
        <!--
        var tz_rnd = Math.random();
        var tz_redirector_00007639="{clickurl}";
        var tz_vc_00007639 = "";
        var tz_force_00007639=-1;
        var tz_pv_00007639="{logurl}";
        var tz_bit1 = "<scr";var tz_bit2 = "</";
        var tz_tag = tz_bit1 + \'ipt language="javascript1.1" type="text/javascript" \';
        tz_tag += \'src="http://ad.uk.tangozebra.com/a/aj/s/7639/228;\' + tz_rnd + \'?ad_radiotimes.js\';
        tz_tag += \'">\' + tz_bit2 + \'script>\';
        document.write(tz_tag);
        //-->
        </script>
        <noscript>
        <a  href="{clickurl}http://ad.uk.tangozebra.com/a/ac/c_noscript/7639/228/32675;TIMESTAMP?http%3A%2F%2Fwww.thinkroadsafety.gov.uk%2Fcampaigns%2Fchildcarseats%2Fchildcarseats.htm"  target=\'{target}\'><img src=\'http://ad.uk.tangozebra.com/a/ai/v_noscript/7639/228/32675/bannerChild468x60;TIMESTAMP?dft_468x60_gif_backup.gif\' border=\'0\' width=\'468\' height=\'60\' alt=\'\'></a>
        </noscript>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'tangozebra',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1007 =>
    array (
      'ad_id' => '1007',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - Bluestreak',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<SCRIPT LANGUAGE="JavaScript" type="text/javascript"
         SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1901891&amp;u=&amp;n=Insert_Time_Stamp_Here&amp;cltk=Insert_Click_Track_URL_Here">
        </script><noscript><a
         href=\'http://s0b.bluestreak.com/ix.e?hr&amp;s=1901891\'
         target=_top><img src=\'http://s0b.bluestreak.com/ix.e?ir&amp;s=1901891\'
         border=0 alt=""></a></noscript>',
      'htmlcache' => '<SCRIPT LANGUAGE="JavaScript" type="text/javascript"
         SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1901891&amp;u=&amp;n={random}&amp;cltk={clickurl}">
        </script>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'bluestreak',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1015 =>
    array (
      'ad_id' => '1015',
      'placement_id' => '85',
      'active' => 't',
      'name' => 'External GIF',
      'type' => 'url',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => 'http://banners.affiliatefuture.com/1535/24103.gif',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => 'http://scripts.affiliatefuture.com/AFClick.asp?affiliateID=59613&merchantID=1535&programmeID=4262&mediaID=24103&tracking=CAAlphaRooms&url=',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1008 =>
    array (
      'ad_id' => '1008',
      'placement_id' => '84',
      'active' => 't',
      'name' => 'HTML - Bluestreak',
      'type' => 'html',
      'contenttype' => '',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => '',
      'htmltemplate' => '<SCRIPT language=\'JavaScript1.1\' SRC="http://ad.uk.doubleclick.net/adj/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?">
        </SCRIPT>
        <NOSCRIPT>
        <A HREF="http://ad.uk.doubleclick.net/jump/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?">
        <IMG SRC="http://ad.uk.doubleclick.net/ad/N2806.TopGear.ilevel/B1987452;sz=468x60;ord=[timestamp]?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!"></A>
        </NOSCRIPT>',
      'htmlcache' => '<SCRIPT language=\'JavaScript1.1\' SRC="http://ad.uk.doubleclick.net/adj/N2806.TopGear.ilevel/B1987452;click0={clickurl};sz=468x60;ord={random}?">
        </SCRIPT>
        <NOSCRIPT>
        <a href="{clickurl}http://ad.uk.doubleclick.net/jump/N2806.TopGear.ilevel/B1987452;sz=468x60;ord={random}?"  target=\'{target}\'>
        <IMG SRC="http://ad.uk.doubleclick.net/ad/N2806.TopGear.ilevel/B1987452;sz=468x60;ord={random}?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!"></A>
        </NOSCRIPT>',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '',
      'url' => '',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => 'doubleclick',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    1017 =>
    array (
      'ad_id' => '1017',
      'placement_id' => '85',
      'active' => 't',
      'name' => 'External Flash',
      'type' => 'url',
      'contenttype' => 'swf',
      'pluginversion' => '0',
      'filename' => '',
      'imageurl' => 'http://i.m3.net/man_fin_lse_468x60_onlinecfds_2.swf',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.onlinecfds.com',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
  ),
  'count_active' => 48,
  'zone_companion' => false,
  'priority' =>
  array (
    'xAds' => 0,
    'cAds' =>
    array (
      5 => 0,
    ),
    'clAds' => 0,
    'ads' =>
    array (
      5 => 0.98901098901,
    ),
    'lAds' => 16,
  ),
);

// Test 3
$aLinked_cAds = array (
  'zone_id' => '41',
  'publisher_id' => '13',
  'name' => 'Companion - 468x60',
  'type' => '0',
  'description' => '',
  'width' => '468',
  'height' => '60',
  'chain' => '',
  'prepend' => '',
  'append' => '',
  'appendtype' => '0',
  'forceappend' => 'f',
  'inventory_forecast_type' => '0',
  'default_banner_url' => NULL,
  'default_banner_dest' => NULL,
  'xAds' =>
  array (
  ),
  'cAds' =>
  array (
    5 =>
    array (
      142 =>
      array (
        'ad_id' => '142',
        'placement_id' => '55',
        'active' => 't',
        'name' => '468x60 Companion',
        'type' => 'web',
        'contenttype' => 'gif',
        'pluginversion' => '0',
        'filename' => 'm3_test_468x60_2.gif',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '10',
        'campaign_weight' => '0',
        'campaign_companion' => '1',
        'priority' => '1',
        'priority_factor' => 1,
      ),
    ),
  ),
  'clAds' =>
  array (
  ),
  'ads' =>
  array (
    5 =>
    array (
      142 =>
      array (
        'ad_id' => '142',
        'placement_id' => '55',
        'active' => 't',
        'name' => '468x60 Companion',
        'type' => 'web',
        'contenttype' => 'gif',
        'pluginversion' => '0',
        'filename' => 'm3_test_468x60_2.gif',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '10',
        'campaign_weight' => '0',
        'campaign_companion' => '1',
        'priority' => '1',
        'priority_factor' => 1,
      ),
      143 =>
      array (
        'ad_id' => '143',
        'placement_id' => '55',
        'active' => 't',
        'name' => '468x60 Companion',
        'type' => 'web',
        'contenttype' => 'gif',
        'pluginversion' => '0',
        'filename' => 'm3_test_468x60_2.gif',
        'imageurl' => '',
        'htmltemplate' => '',
        'htmlcache' => '',
        'width' => '468',
        'height' => '60',
        'weight' => '1',
        'seq' => '0',
        'target' => '_blank',
        'url' => 'http://www.m3.net/',
        'alt' => '',
        'status' => '',
        'bannertext' => '',
        'adserver' => '',
        'block' => '0',
        'capping' => '0',
        'session_capping' => '0',
        'compiledlimitation' => '',
        'acl_plugins' => NULL,
        'append' => '',
        'appendtype' => '0',
        'bannertype' => '0',
        'alt_filename' => '',
        'alt_imageurl' => '',
        'alt_contenttype' => '',
        'campaign_priority' => '10',
        'campaign_weight' => '0',
        'campaign_companion' => '1',
        'priority' => '1',
        'priority_factor' => 1,
        ),
    ),
  ),
  'lAds' =>
  array (
    144 =>
    array (
      'ad_id' => '144',
      'placement_id' => '56',
      'active' => 't',
      'name' => 'Blue 468x60 - Non-companion',
      'type' => 'web',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_blue_3.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    148 =>
    array (
      'ad_id' => '148',
      'placement_id' => '56',
      'active' => 't',
      'name' => 'Red 468x60 - Non-companion',
      'type' => 'web',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_red.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    145 =>
    array (
      'ad_id' => '145',
      'placement_id' => '56',
      'active' => 't',
      'name' => 'Green 468x60 - Non-companion',
      'type' => 'web',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_green_2.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    147 =>
    array (
      'ad_id' => '147',
      'placement_id' => '56',
      'active' => 't',
      'name' => 'Purple 468x60 - Non-companion',
      'type' => 'web',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_purple.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    146 =>
    array (
      'ad_id' => '146',
      'placement_id' => '56',
      'active' => 't',
      'name' => 'Orange 468x60 - Non-companion',
      'type' => 'web',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_orange.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net/',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
    149 =>
    array (
      'ad_id' => '149',
      'placement_id' => '56',
      'active' => 't',
      'name' => 'Turquoise 468x60 - Non-companion',
      'type' => 'web',
      'contenttype' => 'gif',
      'pluginversion' => '0',
      'filename' => 'm3_test_468x60_turquoise.gif',
      'imageurl' => '',
      'htmltemplate' => '',
      'htmlcache' => '',
      'width' => '468',
      'height' => '60',
      'weight' => '1',
      'seq' => '0',
      'target' => '_blank',
      'url' => 'http://www.m3.net',
      'alt' => '',
      'status' => '',
      'bannertext' => '',
      'adserver' => '',
      'block' => '0',
      'capping' => '0',
      'session_capping' => '0',
      'compiledlimitation' => '',
      'acl_plugins' => NULL,
      'append' => '',
      'appendtype' => '0',
      'bannertype' => '0',
      'alt_filename' => '',
      'alt_imageurl' => '',
      'alt_contenttype' => '',
      'campaign_priority' => '0',
      'campaign_weight' => '1',
      'campaign_companion' => '0',
      'priority' => 1,
      'priority_factor' => 1,
    ),
  ),
  'count_active' => 7,
  'zone_companion' =>
  array (
    0 => '55',
  ),
  'priority' =>
  array (
    'xAds' => 0,
    'cAds' =>
    array (
      5 => 1,
    ),
    'clAds' => 0,
    'ads' =>
    array (
      5 => 1,
    ),
    'lAds' => 6,
  ),
);

?>